//---------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------- LANDMARK -------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------------
	function Landmark(data, piso){
		
		//console.log("data",data);
		var _self = this;
		this.type = data.type;
		this.name = data.name;
		this.parentSpace = piso["spaces"][data.parent]; //data.parent (ID del padre)
		this.centroid = { //hacemos el mapeo
							x: data.centroid.x,
							y: 0, //this.parentSpace.height,
							z: data.centroid.y,
		 				};
			
		this.piso = piso; //puntero al nodo padre (piso en el que esta ubicado)
	}